Skip to content

Conversation

fcdeveloper00 and others added 5 commits August 18, 2025 13:24
using static doesn't require a fully qualified type if it is in the scope of a namespace.
see:
https://github.com/dotnet/csharpstandard/blob/standard-v6/standard/namespaces.md#1354-using-static-directives
here the grammar is:
> using_static_directive
>    : 'using' 'static' type_name ';'
>    ;
…f/else in catch blocks (#47887)

* Initial plan

* Add detailed explanation of when keyword and exception filters

Co-authored-by: BillWagner <[email protected]>

* Update docs/csharp/language-reference/statements/exception-handling-statements.md

* Update docs/csharp/language-reference/statements/exception-handling-statements.md

* Address review feedback: Add stack trace preservation explanation

Co-authored-by: BillWagner <[email protected]>

* Address review feedback: Fix punctuation, emphasis, headings and list formatting

Co-authored-by: BillWagner <[email protected]>

* Apply suggestions from code review

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: BillWagner <[email protected]>
Co-authored-by: Bill Wagner <[email protected]>
* Clarify `with` initialization order

Fixes #47503

In articles where `record` and `with` expressions are explained, add details about the order of initialization and with expressions. Provide guidance to compute the property value on access, not initialization.

* Grammar pass + build issues

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

---------

Co-authored-by: Genevieve Warren <[email protected]>
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@dotnetrepoman dotnetrepoman bot added this to the August 2025 milestone Aug 19, 2025
@dotnet-policy-service dotnet-policy-service bot merged commit f1313e8 into live Aug 19, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants